package com.clps.cn.Activiteday04;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * pojo一定要实现Serializable接口，否则存储找个pojo的时候会报错
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Holiday implements Serializable {

    private Integer id;

    private String holidayname;//申请人的名字

    private Date beginDate;

    private Date endDate;

    private Float num;

    private String reason;

    private String type;
}
